package 创建者模式.原型模式.浅克隆.Demo;

public class Test {
    public static void main(String[] args) throws CloneNotSupportedException {
        Citation citation=new Citation();
        Citation citation1=citation.clone();

        citation.setName("张三");
        citation1.setName("李四");
        citation.show();
        citation1.show();
    }
}
